package com.example.downloader.model;

/**
 * Created by Administrator on 2017/9/22 0022.
 */

interface IDownloadCallback<Result> {
    void onStarted();

    void onSuccess(Result result);

    void onError();

    void onCancelled();

    void onWaiting();

    void onLoading(int total, int current);
}
